html * {
    margin: 0; /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

/* GENERAL */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

body {
    width: 1000px;
    background: #fff;
    color: #333;
    font: 12px verdana, arial, helvetica, sans-serif;
    margin: 5px auto;
    padding: 5px;
    /*
    border: 3px #eee dashed;
    */
}

p {
    padding: 0.5em;
}

#myHeader {
    padding: 0;
    margin-bottom: 0;
}

#rightHeader {
    margin-left: 700px;
    /*
        height: 150px;
        background-color: #FC6;
    */
}

a.header-main:link, a.header-main:visited {
    color: #fff;
    font-size: 3em;
    /*
    font-weight: bold;
    */
}

.header-sub {
    color: #fff;
    font-size: 1.25em;
    font-style: italic;
}

#footer {
    font-size: 0.75em;
    font-style: italic;
    padding: 0.5em;
    margin: 2em 1em;
    border-top: 1px solid #777;
    clear: both;
}

#grailsLogo {
    float: left;
}

#grailsLogo img {
    height: 140px;
    width: 480px;
}

#left {
    float: left;
    width: 800px;
    clear: both;
}

#right {
    float: right;
    width: 200px;
    overflow: hidden;
}

#loginLink {
    text-align: right;
    padding: 0.5em;
    font-size: smaller;
    background-color: #FFF;

    /*
    margin: 1em;
    border-bottom: solid #000 1px;
    */
}

#todo {
    background-color: #FC6;
    padding: 0.5em;
    /*
    margin: 1em;
    */
}

#todo ul {
    padding-left: 0px;
}

#todo li {
    list-style-type: none;
}

a.todoPending, a.todoOverdue, a.todoIncomplete, a.todoFlagged {
    padding: 0 .5em 0 25px;
    display: inline-block;
    font-size: smaller;
    font-weight: normal;
}

a.todoPending {
    background: url(../images/icons/checkout2-orange.gif) center left no-repeat;
}

a.todoOverdue {
    background: url(../images/icons/edit-yellow.gif) center left no-repeat;
}

a.todoIncomplete {
    background: url(../images/icons/edit-comment-orange.gif) center left no-repeat;
}

a.todoFlagged {
    background: url(../images/icons/check-orange.gif) center left no-repeat;
}

#right-images {
    float: right;
    padding: 10px;
    /*
    background-color: #FC6;
    */
}

#right-images img {
    filter: alpha(opacity = 40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
    opacity: 0.40;
}

a:link, a:visited, a:hover {
    color: #333;
    /*
    font-weight: bold;
    */
    text-decoration: none;
}

hr {
    width: 100%;
}

h1 {
    /*
    color: #48802c;
    */
    color: #07B;
    font-weight: bold;
    font-size: 20px;
    margin: .8em 0;
}

ul {
    padding-left: 15px;
}

li {
    padding: .5em;
}

input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    font: 12px verdana, arial, helvetica, sans-serif;
    margin: 2px 0;
    padding: 2px 4px;
}

select {
    padding: 2px 2px 2px 0;
}

textarea {
    width: 40em;
    height: 20em;
    vertical-align: top;
}

.indexSection {
    width: 45%;
    display: inline-block;
    vertical-align: text-top;
    padding: 0.5em;
    margin: 0.5em;
}

.accordionTextArea {
    width: 25em;
    height: 5em;
    vertical-align: top;
}

.value input[type="text"] {
    width: 40em;
}

.bd .value input[type="text"] {
    width: 25em;
}

input.datechooser {
    width: 10em !important;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #b2d1ff;
}

.body {
    float: left;
    margin: 0 0 10px 0;
    /*
    width:  100%;
    */
}

/* NAVIGATION MENU */

.nav {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    /*margin-top: 5px;
    */
    padding: 7px 12px;
}

.menuButton {
    font-size: 10px;
    padding: 0 5px;
}

.menuButton a {
    color: #333;
    padding: 4px 6px;
}

.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}

div.errors ul {
    list-style: none;
    padding: 0;
}

div.errors li {
    background: url(../images/skin/exclamation.png) 8px 0 no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}

td.errors input {
    border: 1px solid red;
}

/* TABLES */

table {
    border: 1px solid #ccc;
    width: 100%
}

.bd table {
    border: none;
    width: 100%
}

tr {
    border: 0;
}

td, th {
    font: 12px verdana, arial, helvetica, sans-serif;
    line-height: 12px;
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    color: #333;
    font-size: 10px;
    font-weight: bold;
    line-height: 17px;
    padding: 2px 6px;
}

th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    text-decoration: none;
    width: 100%;
}

th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}

th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}

th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #fec;
}

.even {
    background: #fff;
}

/* LIST */

.list {
    overflow: auto;
    height: 300px;
    width: 800px;
}

.list table {
    border-collapse: collapse;
}

.list th, .list td {
    border-left: 1px solid #ddd;
}

.list th:hover, .list tr:hover {
    background: #b2d1ff;
}

/* PAGINATION */

.paginateButtons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    border-top: 0;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 3px;
}

.paginateButtons a {
    background: #fff;
    border: 1px solid;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}

.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog table {
    padding: 5px 0;
}

.prop td, th {
    padding: 0.5em;
}

.prop .name {
    text-align: left;
    /*
    white-space: nowrap;
    */
}

.prop .value {
    text-align: left;
}

/* ACTION BUTTONS */

.buttons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    /*margin-top: 5px;
    */
    overflow: hidden;
    padding: 0;
}

.buttons input {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
}

.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}

.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}

.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}

.buttons input.search {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}

/* surveyResponse */

.welcome {
    margin: 10px 15px;
    padding: 5px;
    font-size: 1.5em;
}

.group {
    padding: 5px;
    margin: 25px 5px;
    border: solid 1px #FFCC66;
    border-top-width: 5px;
    width: 100%
}

.groupName {
    font-style: italic;
}

.question {
    padding: 15px;
}

.questionHeader {
    font-size: 2em;
    background: #FFCC66;
}

.questionText {
    font-weight: bold;
    padding: 5px;
}

.answer {
    padding: 5px;
}

.radio {
    border: 0;
    background-color: transparent;
}

#thankYouMsg {
    font-size: 2.5em;
    text-align: center;
    padding: 2em;
    margin: 2em;
}

.actions {
    margin: 2em 0;
    padding: 0;
}

.faux-button {
    font-size: 80%;
    font-weight: bold;
    border: outset 3px #222222;
    border-left-color: #dfdfdf;
    border-top-color: #dfdfdf;
    padding: 0.5em;
    margin: 1em 0;
    background-color: #f7f7f7;
    display: inline-block;
    float: right;
}

.faux-button:hover {
    background: #ffeb9b;
}

.sQuestion {
    font-weight: bold;
}

.sResponse {

}

.sRebuttal {
    background-color: #fff;
    font-style: italic;
    padding: 30px 15px;
}

/*
used at top of report and activity pages for broker and agent summary info
*/
.summary {
    /*
    color: #48802c;
    */

    border: none;
}

.summary .name {
    text-align: left;
    width: 15%;
    font-size: 13px;
    /*
    white-space: nowrap;
    */
}

.summary .value {
    text-align: left;
    width: 85%;
    font-size: 13px;
}

.fancyLink {
    color: #666;
    text-decoration: underline;
}

.accordionFont {
    color: black;

}

/* Charting */

.chartFormElement {
    float: left;
    margin: 10px 5px;

}

.chartFormElement label {
    padding-right: 10px;
    display: block;
}

.ratingChart {
    /*
    float: right;
    */
    margin: 5px;
    clear: both;
}

#chartValue {
    clear: left;
}

#chartButtons {
    padding: 0.5em;
}

#chartButtons input {
    font-size: 14pt;
    background-color: #fc6;
}

/*
modalbox
*/
#modalBoxText {
    overflow: auto;
    padding: 0.5em;
    max-height: 400px;
}
